package com.csu.tingtian.service;

import com.csu.tingtian.common.CommonResponse;
import com.csu.tingtian.entity.LegalFarm;
import com.csu.tingtian.entity.UnDeterminedFarms;
import com.csu.tingtian.entity.UnLegalFarm;
import com.csu.tingtian.vo.FarmAndLevel;

import java.util.List;

public interface AdminService {
    //获取所有申请成为商家的信息
    CommonResponse<List<UnDeterminedFarms>> getAllUnDeterminedFarms();
    //插入一个商家到legalfarm
    CommonResponse<LegalFarm> insertLegalFarm(UnDeterminedFarms unDeterminedFarms);
    //插入一个不合格的商家到unlegalfarm
    CommonResponse<UnLegalFarm> insertUnLegalFarm(UnDeterminedFarms unDeterminedFarms,String decription);
    //获取星级评分2以下的农场信息
    CommonResponse<List<FarmAndLevel>> getLevelUnder();
}
